#pragma once
#include <stdint.h>

static const uint32_t kIntLen = 4;
static const uint32_t kTotalHeadLen = kIntLen * 8;
static const uint32_t kMaxBodySize = 1024 * 10;  // XXX I think is enough :)
static const uint32_t kMaxMessageSize = 1024 * 1024 * 64;  // image size is big

static const char* kMsgReadHeader = "handleReadHeader";
static const char* kMsgReadBody = "handleReadBody";